@import './index.less';
//@font-face {
//  font-family: 'MyFont';
//  src: url('~@/assets/fonts/MyFont.eot');
//  src: url('~@/assets/fonts/MyFont.eot?#iefix') format('embedded-opentype'),
//  url('~@/assets/fonts/MyFont.woff') format('woff'),
//  url('~@/assets/fonts/DIN.TTF') format('truetype'),
//  url('~@/assets/fonts/MyFont.svg#MyFont') format('svg');
//  font-weight: normal;
//  font-style: normal;
//}
body {


}

#app {
  height: 100%;

  &.colorWeak {
    filter: invert(80%);
  }

  &.userLayout {
    overflow: auto;
  }
}
ul, li{
  list-style-type: none;
}

.table-page-search-wrapper{
  .ant-row{
    margin-left: 0 !important;
  }
}

.layout.ant-layout {
  height: auto;
  overflow-x: hidden;

  &.mobile,
  &.tablet {
    .ant-layout-content {
      background-color: #0E1F21;

      .content {
        margin-top: 24px;
      }
    }

    /**
     * ant-table-wrapper
     * 覆盖的表格手机模式样式，如果想修改在手机上表格最低宽度，可以在这里改动
     */

    .ant-table-wrapper {
      .ant-table-content {
        overflow-y: auto;
      }

      .ant-table-body {
        min-width: 800px;
      }
    }

    .topmenu {
      /* 必须为 topmenu  才能启用流式布局 */

      &.content-width-Fluid {
        .header-index-wide {
          margin-left: 0;
        }
      }
    }
  }

  &.mobile {
    .sidemenu {
      .ant-header-fixedHeader {
        &.ant-header-side-opened,
        &.ant-header-side-closed {
          width: 100%;
        }
      }
    }
  }

  &.ant-layout-has-sider {
    flex-direction: row;
  }

  //菜单打开
  .ant-header-side-opened .my-menu .trigger {
    font-size: 14px;
    line-height: 40px;
    margin-left: 110px;
    padding: 0 24px;
    cursor: pointer;
    transition: color 0.3s;

    &:hover {
      background: rgba(0, 0, 0, 0.025);
    }
  }

  //菜单关闭只显示图标
  .ant-header-side-closed .anticon-menu-unfold {
    margin-left: 396px;
    padding-right: 24px;
  }

  .topmenu {
    .ant-header-fixedHeader {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 9;
      width: 100%;
      transition: width 0.2s;

      &.ant-header-side-opened {
        width: 100%;

      }

      &.ant-header-side-closed {
        width: 100%;
      }
    }

    /* 必须为 topmenu  才能启用流式布局 */

    &.content-width-Fluid {
      .header-index-wide {
        max-width: unset;

        .header-index-left {
          flex: 1 1 1000px;

          .logo {
            margin-left: 25px;
          }

          .ant-menu.ant-menu-horizontal {
            max-width: calc(100vw - 190px - 238px - 25px);
            flex: 1 1 calc(100vw - 190px - 238px - 25px);
          }
        }

        .header-index-right {
          margin-right: 25px;
        }
      }

      .page-header-index-wide {
        max-width: unset;
      }
    }
  }

  .sidemenu {
    .ant-header-fixedHeader {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 9;
      width: 100%;
      transition: width 0.2s;

      &.ant-header-side-opened {
        width: calc(100% - 312px);
      }

      &.ant-header-side-closed {
        width: calc(100% - 50px);
      }
    }
  }

  .header {
    height: 50px;
    padding: 0 12px 0 0;
    background-color: #0F3234;
    box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
    position: relative;
  }

  .header,
  .top-nav-header-index {
    .user-wrapper {
      float: right;
      height: 100%;

      .action {
        cursor: pointer;
        padding: 0 12px;
        display: inline-block;
        transition: all 0.3s;
        height: 100%;
        color: rgba(0, 0, 0, 0.65);

        &:hover {
          background: rgba(0, 0, 0, 0.025);
        }

        .avatar {
          margin: 20px 8px 20px 0;
          color: #f4ffc1;
          background: hsla(0, 0%, 100%, 0.85);
          vertical-align: middle;
        }

        .icon {
          font-size: 16px;
          padding: 4px;
        }
      }
    }

    &.dark {
      .user-wrapper {
        .action {
          color: rgba(255, 255, 255, 0.85);

          a {
            color: rgba(255, 255, 255, 0.85);
          }

          &:hover {
            background: rgba(255, 255, 255, 0.16);
          }
        }
      }
    }
  }

  &.mobile,
  &.tablet {
    .top-nav-header-index {
      .header-index-wide {
        .header-index-left {
          .trigger {
            color: rgba(255, 255, 255, 0.85);
            padding: 0 12px;
          }

          .logo.top-nav-header {
            flex: 0 0 56px;
            text-align: center;
            line-height: 58px;

            h1 {
              display: none;
            }
          }
        }
      }

      &.light {
        .header-index-wide {
          .header-index-left {
            .trigger {
              color: rgba(0, 0, 0, 0.65);
            }
          }
        }
      }
    }
  }

  &.tablet {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    .top-nav-header-index {
      .header-index-wide {
        .header-index-left {
          .logo > a {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }
        }

        .ant-menu.ant-menu-horizontal {
          flex: 1 1 auto;
          white-space: normal;
        }
      }
    }
  }

  .top-nav-header-index {
    box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
    position: relative;
    transition: background 0.3s, width 0.2s;

    .header-index-wide {
      max-width: 1200px;
      margin: auto;
      padding-left: 0;
      display: flex;
      height: 50px;

      .ant-menu.ant-menu-horizontal {
        max-width: 835px;
        flex: 0 1 835px;
        border: none;
        height: 50px;
        line-height: 50px;
      }

      .header-index-left {
        flex: 0 1 1000px;
        display: flex;

        .logo.top-nav-header {
          flex: 0 0 165px;
          width: 165px;
          height: 50px;
          position: relative;
          line-height: 50px;
          transition: all 0.3s;
          overflow: hidden;

          img,
          svg {
            display: inline-block;
            vertical-align: middle;
            height: 32px;
            width: 32px;
          }

          h1 {
            color: #fff;
            display: inline-block;
            vertical-align: top;
            font-size: 16px;
            margin: 0 0 0 12px;
            font-weight: 400;
          }
        }
      }

      .header-index-right {
        flex: 0 0 238px;
        align-self: flex-end;
        height: 50px;
        overflow: hidden;

        .content-box {
          float: right;

          .action {
            max-width: 140px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }
        }
      }
    }

    &.light {
      background-color: #fff;

      .header-index-wide {
        .header-index-left {
          .logo {
            h1 {
              color: #002140;
            }
          }
        }
      }
    }
  }

  // 内容区
  .layout-content {
    margin-top: 24px;
    height: 100%;
    padding: 0 12px 0 0;
  }

  // footer
  .ant-layout-footer {
    padding: 0;
  }
}

.topmenu {
  .page-header-index-wide {
    max-width: 1200px;
    margin: 0 auto;
  }
}

// drawer-sider 自定义
.ant-drawer.drawer-sider {
  .sider {
    box-shadow: none;
  }

  &.dark {
    .ant-drawer-content {
      background-color: #0F0E0E;
    }
  }

  &.light {
    box-shadow: none;

    .ant-drawer-content {
      background-color: #fff;
    }
  }

  .ant-drawer-body {
    padding: 0;
  }
}

// 菜单样式
.sider {
  box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
  position: relative;
  z-index: @ant-global-sider-zindex;
  min-height: 100vh;
  background-color: #0F0E0E;
  //图标
  .ant-layout-sider-children {
    //overflow: hidden;
    overflow: visible;

    &:hover {
      //overflow-y: auto;
      overflow-y: visible;
    }
  }

  &.ant-fixed-sidemenu {
    position: fixed;
    height: 100%;
  }

  .logo {
    position: relative;
    height: 50px;
    //padding-left: 15px;
    overflow: visible;
    line-height: 50px;
    width: 440px;
    background: #0F3234;
    transition: all .3s;

    img,
    svg,
    h1 {
      display: inline-block;
      vertical-align: middle;
    }

    img,
    svg {
      //margin-left: 20px;
      height: 35px;
      //width: 40px;
    }

    /*svg {
      margin-left: 20px;
      height: 40px;
      width: 40px;
    }*/


    h1 {
      width: 440px;
      font-size: 30px;
      margin: 0 0 0 12px;
      font-family: YouSheBiaoTiHei, serif;
      line-height: 50px;
      color: #07AAB8;
      background: linear-gradient(to bottom, #C3F1F3, #8EEBF3);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      letter-spacing: 1px;
      vertical-align: middle;
      font-weight: 700;
      font-style: italic;
    }
  }

  &.light {
    background-color: #fff;
    box-shadow: 2px 0px 8px 0px rgba(29, 35, 41, 0.05);

    .logo {
      background: #fff;
      box-shadow: 1px 1px 0px 0px #e8e8e8;

      h1 {
        color: unset;
      }
    }

    .ant-menu-light {
      border-right-color: transparent;
    }
  }
}

// 外置的样式控制
.user-dropdown-menu {
  span {
    user-select: none;
  }
}

.user-dropdown-menu-wrapper.ant-dropdown-menu {
  padding: 4px 0;

  .ant-dropdown-menu-item {
    width: 160px;
  }

  .ant-dropdown-menu-item > .anticon:first-child,
  .ant-dropdown-menu-item > a > .anticon:first-child,
  .ant-dropdown-menu-submenu-title > .anticon:first-child .ant-dropdown-menu-submenu-title > a > .anticon:first-child {
    min-width: 12px;
    margin-right: 8px;
  }
}

// 数据列表 样式
.table-alert {
  margin-bottom: 16px;
  color: #ffffff;

}
.config-station{
  .ant-form-item{
    margin-bottom: 0 !important;
  }
  .table-page-search-submitButtons {
    margin-bottom: 0 !important;
  }
  .ant-row{
    margin-left: 0 !important;
  }
  .ant-form{
    padding: 0 30px !important;
  }
  .btn_add{
    margin-right: 0 !important;
  }
  .btn_add, .btn_add:focus, .btn_add:active, .btn_add.active {
    color: #ffffff;
    background: #104E5C;
    border: 1px solid #104E5C;
  }

  .btn_add:hover {
    color: #fff;
    background-color: #336874;
    border-color: #336874;
  }
}
//.table-page-search-wrapper{
//  padding-left: 10px;
//  padding-right: 10px;
//  .ant-row{
//    margin-left: 0px !important;
//  }
//}
.config-device, .config-gateway, .config-sample-collection, .config-model{
  .table-page-search-wrapper{
    .ant-row{
      margin-left: 0 !important;
    }
    .btn_add{
      margin-right: 0 !important;
      margin-left: 16px;
    }
    .btn_add, .btn_add:focus, .btn_add:active, .btn_add.active {
      color: #ffffff;
      background: #104E5C;
      border: 1px solid #104E5C;
    }

    .btn_add:hover {
      color: #fff;
      background-color: #336874;
      border-color: #336874;
    }
  }
}
.table-page-search-wrapper {
  .ant-form-inline {
    .ant-form-item {
      display: flex;
      margin-bottom: 16px;
      margin-right: 0;

      .ant-form-item-control-wrapper {
        flex: 1 1;
        display: inline-block;
        vertical-align: middle;
      }

      > .ant-form-item-label {
        line-height: 32px;
        padding-right: 8px;
        width: auto;
        color: #ffffff;
      }

      .ant-form-item-control {
        height: 32px;
        line-height: 32px;
      }
    }
  }

  .table-page-search-submitButtons {
    display: block;
    //margin-bottom: 24px;
    white-space: nowrap;
  }
}

.content {
  .table-operator {
    margin-bottom: 18px;

    button {
      margin-right: 8px;
    }
  }
}

//打开的菜单样式
.ant-menu-dark .ant-menu-inline.ant-menu-sub {
  background-color: #0F0E0E;
}

.ant-menu .ant-menu-inline .ant-menu-root .ant-menu-dark{
  padding-top: 40px;
}

.layout.ant-layout .header .user-wrapper .action .avatar, .layout.ant-layout .top-nav-header-index .user-wrapper .action .avatar {
  margin: 0px 8px 20px 0;
  color: #ffffff;
  background-color: #0F3234;
  vertical-align: middle;
}

.my-menu {
  border-bottom: 50px;
  background-color: #0F3234;
  color: #ffffff;
  font-size: 14px;
  line-height: 40px;
}

.layout.ant-layout .header .user-wrapper .action, .layout.ant-layout .top-nav-header-index .user-wrapper .action {
  color: #ffffff;
}

/*.ant-layout-content{
  background-color: #000741;
}*/

.ant-menu-dark, .ant-menu-dark .ant-menu-sub {
  color: rgb(255 255 255);
  //background: #000741;
}

//关闭菜单箭头颜色
.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow, .ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow {
  color: rgb(255 255 255);
  opacity: 1;
  font-size: 14px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

//一级菜单的二级菜单（带箭头）
.ant-menu-sub.ant-menu-inline > .ant-menu-item, .ant-menu-sub.ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title {
  font-size: 14px;
}

//打开菜单文字颜色
.ant-menu-dark .ant-menu-item, .ant-menu-dark .ant-menu-item-group-title, .ant-menu-dark .ant-menu-item > a {
  color: rgb(255 255 255 / 80%);
}

.ant-menu-dark .ant-menu-item:hover, .ant-menu-dark .ant-menu-submenu-title:hover {
  color: #33fff7;
}

//打开菜单
.ant-menu-submenu-selected, .ant-menu-dark .ant-menu-submenu-open, .ant-menu-dark .ant-menu-submenu-selected {
  color: #33fff7;
}

.ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after, .ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after, .ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after, .ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after, .ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after, .ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after, .ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::after, .ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::after, .ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::after, .ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::after, .ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::after, .ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::after, .ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before, .ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before, .ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before, .ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before, .ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before, .ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before, .ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::before, .ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::before, .ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::before, .ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::before, .ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::before, .ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::before {
  background: #33fff7;
}

.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow, .ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:hover {
  background: #33fff7;
}

.ant-menu-submenu-inline > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::before, .ant-menu-submenu-inline > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::after {
  background: #33fff7;
}

.ant-menu-item .anticon, .ant-menu-submenu-title .anticon {
  font-size: 14px;
}

.ant-menu-item .anticon + span, .ant-menu-submenu-title .anticon + span {
  font-size: 14px;
}

//菜单
.ant-menu-dark.ant-menu-inline, .ant-menu-dark.ant-menu-vertical, .ant-menu-dark.ant-menu-vertical-left, .ant-menu-dark.ant-menu-vertical-right {
  //border: 1px solid #33fff7;
}

//右边主体
.ant-layout.ant-layout-has-sider > .ant-layout, .ant-layout.ant-layout-has-sider > .ant-layout-content {
  overflow-x: hidden;
  background-color: #0E1F21;
}

//脚部
.ant-layout-footer {
  font-size: 14px;
  background: #0E1F21;

  .footer .copyright {
    color: rgb(255 255 255);
    font-size: 14px;
  }
}


// 左侧菜单样式修改
.ant-menu-dark .ant-menu-item, .ant-menu-dark .ant-menu-item-group-title, .ant-menu-dark .ant-menu-item > a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 10px !important;
}

//已选菜单栏右侧中部字体颜色
.ant-breadcrumb, .ant-breadcrumb a, .ant-breadcrumb-separator, .ant-breadcrumb > span:last-child {
  color: rgb(255 255 255);
}

//顶部已选颜色
.ant-menu-horizontal > .ant-menu-item:hover, .ant-menu-horizontal > .ant-menu-submenu:hover, .ant-menu-horizontal > .ant-menu-item-active, .ant-menu-horizontal > .ant-menu-submenu-active, .ant-menu-horizontal > .ant-menu-item-open, .ant-menu-horizontal > .ant-menu-submenu-open, .ant-menu-horizontal > .ant-menu-item-selected, .ant-menu-horizontal > .ant-menu-submenu-selected {
  color: #33fff7;
  border-bottom: 2px solid #33fff7;
}

.ant-row {
  .ant-card {
    // background: #0f3234;

    .ant-tree, .ant-tree li .ant-tree-node-content-wrapper {
      height: 28%;
      font-size: 16px;
      color: rgb(255 255 255);
    }
  }
}

.ant-col .ant-form-item-label label {
  color: #fff;
}

//表格样式
.ant-table {
  color: rgb(255 255 255 / 0.6);
  height: 46vh;
  font-family: '微软雅黑';
  font-size: 14px;
  overflow-y: auto;
}
.steps-content .ant-table {
  height: 40vh;
}


//表头
.ant-table-thead tr th {
  background-color: #104E5C;
  color: #DBDADA;
}

//鼠标悬浮表行颜色
.ant-table-thead > tr.ant-table-row-hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td, .ant-table-tbody > tr.ant-table-row-hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td, .ant-table-thead > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td, .ant-table-tbody > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td {
  background: #104e5c;
}

//空表
.ant-empty-normal {
  color: #DBDADA;
  background: #104E5C;
  height: 30vh;
}

.ant-table-placeholder {
  color: rgba(255 255 255);
  background: #104e5c;
  border-top: 1px solid #337860;
  border-bottom: 1px solid #337860;
}

.ant-table .ant-table-row-indent + .ant-table-row-expand-icon {
  color: #787878;
}

.ant-tree li .ant-tree-node-content-wrapper:hover {
  height: 100%;
  background-color: #4d86a0;
}

//表样式（不带查询条件和分页）
.ant-card .ant-card-body .table-wrapper .ant-table-wrapper .ant-table-default,
.ant-card .ant-card-body .table-wrapper .ant-table-wrapper .ant-table-middle{
  //height: 580px;
  //height: 38vh;
  border: 10px solid transparent;
  // border-image: url('../assets/img/border_table.png') 18 round;
  border-image-width: 13px;
}

.ant-modal-body .ant-card .ant-card-body {
  background: #0e1f21;
}

//电站样式
.ant-row .ant-col-md-3 .ant-card .ant-card-body {
  // background: #0f3234;
}
.ant-tabs-content{
  //height: 42vh !important;
}

.ant-row .ant-col-md-21 .ant-card-card {
  background-image: url(~@/assets/img/table_border.png) !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  padding-top: 20px;
}

//表条数样式
.ant-pagination-total-text {
  color: #fff;
}

//弹出页面样式
.ant-modal-content {
  background-color: #104348;

  .ant-modal-header {
    background: #40686c;
    border-bottom: 1px solid #4d86a0;

    .ant-modal-title {
      color: #ffffff;
    }
  }
}

//.salesCard .table-wrapper{
//  height: 16vw !important;
//}

.ant-modal-close-x {
  color: #fff;
}

.ant-divider-horizontal.ant-divider-with-text-center, .ant-divider-horizontal.ant-divider-with-text-left, .ant-divider-horizontal.ant-divider-with-text-right {
  color: #fff;
}

.ant-divider-horizontal.ant-divider-with-text-center::before, .ant-divider-horizontal.ant-divider-with-text-left::before, .ant-divider-horizontal.ant-divider-with-text-right::before, .ant-divider-horizontal.ant-divider-with-text-center::after, .ant-divider-horizontal.ant-divider-with-text-left::after, .ant-divider-horizontal.ant-divider-with-text-right::after {
  border-top: 1px solid #4d86a0;
}

.ant-modal-footer {
  border-top: 1px solid #4d86a0;
}

.ant-table-thead > tr > th, .ant-table-tbody > tr > td {
  border-bottom: 1px solid #0f3234;
}

.ant-radio-wrapper span, .ant-tabs-nav, .ant-form-item .ant-form-item-label label {
  color: #ffffff;
}

//提示框
.ant-modal-confirm-body .ant-modal-confirm-title, .ant-modal-confirm-body .ant-modal-confirm-content {
  color: rgb(255 255 255);
}
.ant-pagination-item a {
  color: #fff !important;
}
//删除
.btn_del, .btn_del:focus, .btn_del:active, .btn_del.active {
  border: 1px solid #faad14;
  background-color: #faad14;
  color: #fff;
  padding: 1px 8px;
  border-radius: 5px;
}

.btn_del:hover {
  background-color: #ae8e4b;
  color: #fff;
}

//编辑
.btn_edit, .btn_edit:focus, .btn_edit:active, .btn_edit.active {
  border: 1px solid #40a9ff;
  background-color: #40a9ff;
  color: #fff;
  padding: 1px 8px;
  border-radius: 5px;
}

.btn_edit:hover {
  background-color: #3470e0;
  color: #fff;
}

//分割线
.ant-divider, .ant-divider-vertical {
  display: inherit;
  margin: 0 3px;
}

.ant-table-row-cell-break-word {
  width: 160px;
}

//更多
.btn_more, .btn_more:focus, .btn_more:active, .btn_more.active {
  border: 1px solid #38c159;
  background-color: #38c159;
  color: #fff;
  padding: 1px 4px;
  border-radius: 5px;
}

.btn_more:hover {
  background-color: #38c159;
  color: #fff;
}

//查看
.btn_details, .btn_details:focus, .btn_details:active, .btn_details.active {
  border: 1px solid #c7bf30;
  background-color: #c7bf30;
  color: #fff;
  padding: 1px 4px;
  border-radius: 5px;
}

.btn_details:hover {
  background-color: #868348;
  color: #fff;
}

//查询、重置
.btn_search_reset, .btn_search_reset:focus, .btn_search_reset:active, .btn_search_reset.active {
  color: #ffffff;
  background: #104E5C;
  border: 1px solid #104E5C;
}

.btn_search_reset:hover {
  color: #fff;
  background-color: #336874;
  border-color: #336874;
}

//新增
//.btn_add, .btn_add:focus, .btn_add:active, .btn_add.active {
//  margin-right: 16px;
//  border-radius: 4px;
//  background: linear-gradient(to right, #09597D, #08C6DC);
//  border: none;
//  color: #fff;
//}
//
//.btn_add:hover {
//  color: #fff;
//  background-color: #336874;
//  border-color: #93aeb5;
//}

.btn_add{
  margin-right: 0 !important;
  margin-left: 16px;
}
.btn_add, .btn_add:focus, .btn_add:active, .btn_add.active {
  color: #ffffff;
  background: #104E5C;
  border: 1px solid #104E5C;
}

.btn_add:hover {
  color: #fff;
  background-color: #336874;
  border-color: #336874;
}

.ant-table-tbody > tr.ant-table-row-selected td {
  color: inherit;
  background: #3a8ad5;
}

.ant-tree > li:last-child, .ant-tree li .ant-tree-node-content-wrapper, .ant-select, li.ant-tree-treenode-disabled > .ant-tree-node-content-wrapper span {
  color: #fff !important;
}

.ant-select-dropdown-content {
  background: #104e5c;
}

.ant-select-dropdown-menu-item {
  background: #104e5c;
  color: #fff;
}

.ant-select-dropdown-menu-item-active:not(.ant-select-dropdown-menu-item-disabled) {
  background-color: #02aeff;
}

.ant-select-dropdown-menu-item:hover:not(.ant-select-dropdown-menu-item-disabled) {
  background-color: #52c6fd;
}

//背景图去掉要注释
/*.table-page-search-wrapper {
  margin-top: 5vh;
}*/
/*.salesCard .ant-tabs-large-bar {
  margin-top: 2vh;
}*/
/*.ant-tabs-nav-wrap {
  margin-top: 1vh;
}*/

//分页
/*.ant-table-pagination.ant-pagination {
  text-align: center;
  float: none;
}*/

.ant-table-pagination.ant-pagination .ant-select-selection-selected-value {
  color: #ffffff;
}

.ant-pagination-item-active {
  background: #1890FF;
  border-color: #1890FF;

  a {
    color: #ffffff;
  }
}

.ant-pagination-item-active:focus, .ant-pagination-item-active:hover {
  a {
    color: #ffffff;
  }
}

.ant-pagination-prev, .ant-pagination-next, .ant-pagination-jump-prev, .ant-pagination-jump-next {
  color: #ffffff;
}

.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis, .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis {
  color: #ffffff;
}

//条件输入框
.ant-form-item-children .ant-input-affix-wrapper .ant-input {
  background-color: #104E5C;
  //background-image: none;
  border: 1px solid #104E5C;
  color: #ffffff;
}

.ant-input-number, .ant-input-number-handler-wrap {
  background-color: #104E5C;
  //background-image: none;
  border: 1px solid #104E5C;
  color: #ffffff;
}

.ant-form-item-children .ant-input {
  background-color: #104e5c;
  //background-image: none;
  border: 1px solid #104e5c;
  color: rgb(255 255 255);
}

//输入框删除x
.ant-input-clear-icon:active {
  color: #fff;
}

.ant-select-selection {
  background-color: #104e5c;
  border: none;

  .ant-select-arrow {
    color: #ffffff;
  }
}

//分页选择框
.ant-pagination-options .ant-select-selection {
  background-color: #0e1f21;
  border: 1px solid #23FFF9;

  .ant-select-arrow {
    color: #ffffff;
  }
}

//上一页、下一页
.ant-pagination-prev .ant-pagination-item-link, .ant-pagination-next .ant-pagination-item-link {
  background-color: #0e1f21;
  border: 1px solid #23FFF9;
  color: #ffffff;
}

//下拉框
.ant-row .ant-form-item-children .ant-select-selection {
  background-color: #104E5C;
  border: 1px solid #104E5C;
}

.ant-row .ant-form-item-children .ant-select-selection--single .ant-select-arrow {
  color: #bfbfbf;
}

.ant-card {
  background: none;
}
.ant-table-row-cell-break-word {
  min-width: 205px;
}

.ant-card .ant-card-body {
  .account-settings-info-main {
    .account-settings-info-left {
      //border-right: 1px solid #33fff7;

      .ant-menu {
        //background-color: #1054a0;

        .ant-menu-item a {
          color: #fff;
        }

        .ant-menu-item-selected {
          background-color: #00999e;
        }
      }
    }

    .account-settings-info-right .account-settings-info-title {
      color: rgb(255 255 255);
    }
  }
}

.ant-list-item-meta-title > a, .ant-list-item-meta-description {
  color: rgb(255 255 255);
}

.ant-card, .ant-card-head {
  color: rgb(255 255 255);
}

.ant-card-meta-title, .app-list .ant-card-body .ant-card-meta .ant-card-meta-detail .meta-cardInfo div p {
  color: #fff;
}

.ant-row .ant-col-md-3 .ant-card {
  background: none;
}

&::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  background-color: #40454c;
}

/*定义滚动条轨道 圆角*/
&::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #40454c;
}

/*定义滑块 圆角*/
&::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #4ccbc6;
}

//表格隔行换色
.ant-table-tbody .ant-table-row:nth-child(2n) {
  //background: #153F46;
  background: #0b272c;
}

//表格选中后鼠标指向颜色
.ant-table-tbody > tr:hover.ant-table-row-selected > td {
  background: #4ccbc6;
}

//已选菜单
.ant-menu.ant-menu-dark .ant-menu-item-selected, .ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected {
  //background: linear-gradient(to right, #09597D, #08C6DC);
}

.ant-spin-container .ant-form-horizontal .ant-form-item {
  color: #E9E9E9;
}

//电站页面选择表格或者地图
.ant-tabs-nav .ant-tabs-tab-active {
  color: #33fff7;
}

.ant-tabs-ink-bar {
  background: none;
}

.ant-tabs-nav .ant-tabs-tab:hover {
  color: #a1fffb
}

.layout.ant-layout .ant-layout-footer {
  padding: 0;
}

.ant-tabs-bar {
  border-bottom: 1px solid #4c4c4c;
}

.steps-content .salesCard .ant-table {
  height: 30vh;
}
.salesCard {
  color: #fff;

  .ant-table {
    color: rgb(255 255 425);
    padding: 10px 20px;
    height: 40vh;
    overflow-y: auto;
  }


  //分页
  //.ant-table-pagination.ant-pagination {
  //  text-align: center;
  //  float: right;
  //}
  .ant-pagination-item a {
    color: #fff !important;
  }

  .ant-empty-normal {
    color: #DBDADA;
    background: #104E5C;
    height: 175px;
  }

  //.table-wrapper {
  //  height: 395px;
  //}
}

//点击table行
//.table-blue{
//  background-color: #1cc1f0 !important;
//}
tr.ant-table-row.ant-table-row-level-0.table-blue {
  background-color: #1cc1f0;
  -webkit-transition: all 1s, height 0.5s;
  transition: all 1s, height 0.5s;
}

.anticon {
  color: #fff;
}
.salesCard
.my-device {
  color: #fff;

  .my-p {
    color: #fff;
  }

  span {
    margin-left: 5px;
  }
}

.ant-layout-header {
  height: 50px;
}

.ant-tree li {
  //overflow: hidden;
  height: 100%;
  //margin-bottom: 20px;
  white-space: pre-wrap;
}

.ant-select-tree li .ant-select-tree-node-content-wrapper {
  color: #fff;
}

.ant-select-dropdown {
  background-color: #0D5056;
}

.ant-select-tree li .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected, .ant-select-tree li .ant-select-tree-node-content-wrapper:hover {
  background-color: #2385b9
}

.ant-modal-footer button, .ant-modal-footer button + button {
  width: 108px;
  height: 44px;
}

.ant-modal-footer button:hover, .ant-modal-footer button + button:hover {
  width: 108px;
  height: 44px;
  line-height: 44px;
  font-size: 17px;
  background-color: #D9D9D9;
  color: #000;
  border: none;
}

.ant-modal-footer .ant-btn-primary {
  background: linear-gradient(to right, #08BBD3, #096EAF);
  color: #fff;
}

.ant-modal-footer .ant-btn-primary:hover {
  background: linear-gradient(to right, #08BBD3, #096EAF);
  color: #fff;
}

// 新增
// 修改按钮
.btn_edit {
  background-color: #2096e6;
}

.btn_edit:hover {
  background-color: #2096e6;
}

//删除按钮
.btn_del {
  background-color: #e6c320;
}

.btn_del:hover {
  background-color: #e6c320;
}

.ant-form-item-children .ant-input {
  background-color: #052c35;
  border: 1px solid #104e5c;
  color: rgb(255 255 255);
}

.ant-col-md-5, .ant-col-md-4, .ant-col-md-3 {
  background-image: url(~@/assets/img/menu_border.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  height: 70vh;
  margin-top: 20px;
  margin-bottom: 20px;
  overflow: auto;
}

.ant-col-md-18, .ant-col-md-19, .ant-col-md-17, .ant-col-md-16, .ant-col-md-14 {
  background-image: url(~@/assets/img/table_border.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding-top: 20px;
  margin-left: 30px;
  height: 70vh;
  padding-bottom: 50px;
  margin-top: 20px;
  margin-bottom: 20px;
  overflow: auto;
}

.ant-tree-child-tree > li:first-child {
  height: 100%;
  //margin-top: 20px;
}

#table-wrapper {
  background-image: url(~@/assets/img/table_border.png) !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  padding: 30px 20px;
}

.ant-select-selection__placeholder {
  color: #b4b7b8;
}

.btn_edit {
  background-color: #3aced8;

  &:hover {
    background-color: #3aced8;
  }
}

.content {
    .page-header-index-wide {
        .page-header {
      //display: none;
    }
  }
}
.ant-row {
  margin-left: 20px !important;
}

.mini .ant-pagination-item a {
  color: rgb(255 255 255) !important;
}

.viewTitle{
  display: inline-block;
  width: 100%;
  // height: 24px;
  padding: 14px 0 14px 40px;
  font-size: 18px;
  border-bottom: 1px solid #4d86a0;
  color: #fff;
  background-color: #0D5B6A
}
.viewTitle span{
  margin-right: 30px;
}
//质检
.btn_check,.btn_check:hover{
  border: 1px solid orange;
  background-color: orange;
  color: #fff;
  padding: 1px 8px;
  border-radius: 5px;
}
//tab图表线
.ant-tabs .ant-tabs-left-bar {
  float: left;
  margin-right: -1px;
  margin-bottom: 0;
  border-right: 1px solid #4d86a0;
}

.ant-tree li span.ant-tree-switcher.ant-tree-switcher-noop {
  display: none;
}

.ant-steps-item-title{
  color: #fff !important;
}

.breadcrumb {
  margin: 10px 0 15px 0;
  font-size: 18px;
  line-height: 3.3;
  text-align: center;
  background: url("../assets/img/menu_title.png") no-repeat;
  background-size: 100% 100%;
}

.ant-menu-dark.ant-menu-inline .ant-menu-submenu-title {
  font-size: 14px;
}

.ant-tree.ant-tree-directory .ant-tree-child-tree > li.ant-tree-treenode-selected > span.ant-tree-node-content-wrapper::before,
.ant-tree.ant-tree-directory > li span.ant-tree-node-content-wrapper:hover, .ant-tree.ant-tree-directory .ant-tree-child-tree > li span.ant-tree-node-content-wrapper:hover,
.ant-tree.ant-tree-directory > li span.ant-tree-node-content-wrapper:hover::before, .ant-tree.ant-tree-directory .ant-tree-child-tree > li span.ant-tree-node-content-wrapper:hover::before{
  background: none !important;
}

.ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected {
  height: 100%;
  background: linear-gradient(to right, #09597D, #08C6DC) !important;
}
.ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected.ant-tree.ant-tree-directory > li span.ant-tree-node-content-wrapper:hover, .ant-tree.ant-tree-directory .ant-tree-child-tree > li span.ant-tree-node-content-wrapper:hover {
  height: 100%;
  background-color: #09597D !important;
}

@font-face {
  font-family: "时尚中黑简体";
  src: url(~@/assets/ttf/时尚中黑简体.TTF);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'DIN';
  src: url('~@/assets/fonts/DIN.TTF');
  font-weight: normal;
  font-style: normal;
}

.ant-pagination .ant-pagination-item:not(.ant-pagination-item-active){
  background:  transparent !important;
  border-color: transparent;
  color: #ffffff;
}